diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-06-28 00:18:06 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-06-28 00:18:06 +0100 |
| commit | 2ac63745004d385fd47599d658b03dcfbbc7b17d (patch) | |
| tree | b2db15416148380c1e6fb26f0043bfee01e12f77 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 25f05f12773ea5710941822ce0e168325cc7ce14 (diff) | |
Put linking section before name section
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 7 insertions, 7 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index e0f30646..2b159ad8 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -17,13 +17,6 @@ Code[2]: - func[1] size=5 <shed__function__f__0> - func[2] size=27 <f> Custom: - - name: "name" - - func[0] <shed__runtime__alloc> - - func[1] <shed__function__f__0> - - func[2] <f> - - func[1] local[0] <closurePointer__0> - - func[2] local[0] <closurePointer__0> -Custom: - name: "linking" - symbol table [count=3] - 0: F <shed__runtime__alloc> func=0 [ undefined explicit_name binding=global vis=default ] @@ -34,6 +27,13 @@ Custom: - relocations for section: 3 (Code) [2] - R_WASM_FUNCTION_INDEX_LEB offset=0x000016(file=0x000097) symbol=0 <shed__runtime__alloc> - R_WASM_TABLE_INDEX_SLEB offset=0x000020(file=0x0000a1) symbol=1 <shed__function__f__0> +Custom: + - name: "name" + - func[0] <shed__runtime__alloc> + - func[1] <shed__function__f__0> + - func[2] <f> + - func[1] local[0] <closurePointer__0> + - func[2] local[0] <closurePointer__0> Code Disassembly: |
